package com.Logistics.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("pd_driver_job")
public class DriverJob implements Serializable {
    /**
     * Serializable version UID for object serialization.
     */
    private static final long serialVersionUID = 3059929518636163657L;

    /**
     * ID
     */
    private String id;

    /**
     * 起始机构ID
     */
    private String start_agency_id;

    /**
     * 终点机构ID
     */
    private String end_agency_id;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 驾驶员ID
     */
    private String driver_id;

    /**
     * 任务运输ID
     */
    private String task_transport_id;

    /**
     * 起始交接人
     */
    private String start_handover;

    /**
     * 完成交接人
     */
    private String finish_handover;

    /**
     * 计划出发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_departure_time;

    /**
     * 实际出发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_departure_time;

    /**
     * 计划到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_arrival_time;

    /**
     * 实际到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_arrival_time;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;
}
